package com.qa.pojo.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 查询题目时需要的属性
 * id
 * question
 * status
 * creator
 * open
 * kind
 * categoryIds
 * @author 徐
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class QuestionQueryDTO implements Serializable {
    /**
     * 题目id
     */
    private Long id;
    /**
     * 题目内容
     */
    private String question;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 创建者id
     */
    private Long creator;
    /**
     * 是否公开
     */
    private Integer open;
    /**
     * 题目类型
     */
    private List<Integer> kinds;
    /**
     * 所属分类id
     */
    private List<Long> categoryIds;
}
